.cabecalho {
  display: flex;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-hyphens: auto;
  /* Safari/Chrome */
  -ms-hyphens: auto;
  /* IE/Edge */
  hyphens: auto;
  /* Padrão (Firefox/Chrome moderno) */
  /* Garante quebra de palavras longas mesmo sem hifenização */
  word-wrap: break-word;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cabecalho {
  display: flex;
}

.logo-omu {
  width: 6vw;
  height: auto;
  margin: 2.5vh 2vw 0vh 4vw;
}

.link-login {
  color: #F95E3E;
  font-weight: 700;
}

.menu-navegacao {
  display: flex;
  justify-content: space-evenly;
  width: 82vw;
  font-size: 1.5em;
  margin: 4vh 6vw 0vh 0vw;
}

.link-logo-omu {
  margin-left: 0vw;
}

.span-vermelho {
  color: #F95E3E;
  font-weight: 900;
}

.span-azul {
  color: #3856F8;
  font-weight: 900;
}

.span-amarelo {
  color: #F8BA1B;
  font-weight: 900;
}

.span-branco {
  color: #ffffff;
  font-weight: 900;
}

.span-rosa {
  color: #F89EDA;
  font-weight: 900;

}


.l1,
.l2,
.l3,
.l4 {
  font-weight: 500;
  font-family: 'Jost';
}

.l1:hover {
  color: #F95E3E;
  text-decoration: none;
}

.l2:hover {
  color: #3856F8;
  text-decoration: none;
}

.l3:hover {
  color: #F89EDA;
  text-decoration: none;
}

.l4:hover {
  color: #F8BA1B;
  text-decoration: none;
}

.link-login:hover {
  color: #000000;
  text-decoration: none;
}

a {
  text-decoration: none;
  color: #000000;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  border: none;
  outline: none;
}

body {
  background-color: #FCF7CF;
  ;
}

.box-pai {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 90%;
  height: 90vh;
  margin: 5% 5% 0% 5%;
}

.box-nivel {
  width: 19%;
}

.box-prova {
  width: 24%;

}

.box-simulado {
  width: 24%
}

.box-solucoes {
  width: 24%;

}

.box-medalhistas {
  width: 29%;
}

.box-fases {
  height: 18vh;
  margin: 1vh 0% 1vh 0%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
}

.box-fases-2 {
  height: 12vh;
  margin: 1vh 0% 1vh 0%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
}

.box-fases-4 {
  height: 24vh;
  margin: 1vh 0% 1vh 0%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
}

.box-medalhistas,
.box-nivel,
.box-prova,
.box-solucoes,
.box-simulado {
  margin: 0% 0.5% 0% 0.5%;
}

.altura-GP,
.altura-2G,
.altura-G,
.altura-M,
.altura-P,
.altura-G-int,
.altura-2GP {
  width: 100%;
  background-color: #ffffff4f;
  color: #000000;
  font-family: 'Nimbus Sans L';
  display: flex;
  justify-content: center;
  align-items: center;
}


.altura-2GP {
  height: 42.4vh;
  margin: 1.3vh 0% 1vh 0%;
  font-size: 2em;
}

.altura-GP {
  height: 23.4vh;
  margin: 1.3vh 0% 1vh 0%;
  font-size: 2em;
}

.altura-2G {
  height: 36.3vh;
  margin: 1.3vh 0% 1vh 0%;
  font-size: 2em;
}

.altura-G {
  height: 17.4vh;
  margin: 1.3vh 0% 1.6vh 0%;
  font-size: 2em;
}

.altura-G-int {
  height: 17.3vh;
  margin: 1vh 0% .8vh 0%;
  font-size: 2em;
}

.altura-M {
  height: 11.5vh;
  margin: 1.3vh 0% 1.7vh 0%;
  font-size: 2em;
}

.altura-P {
  height: 5.25vh;
  margin: 0% 0%;
  font-size: 1.5em;
}

.altura-P-meio-esq {
  width: 49%;
  height: 5.25vh;
  margin: 0% 0%;
  font-size: 1.5em;
  background-color: #ffffff4f;
  color: #000000;
  font-family: 'Nimbus Sans L';
  display: flex;
  justify-content: center;
  align-items: center;
}

.altura-P-meio-dir {
  width: 49%;
  height: 5.25vh;
  margin: 0% 0% 0% 2%;
  font-size: 1.5em;
  background-color: #ffffff4f;
  color: #000000;
  font-family: 'Nimbus Sans L';
  display: flex;
  justify-content: center;
  align-items: center;
}

.nivel-rosa,
.nivel-azul,
.nivel-amarelo,
.nivel-vermelho,
.nivel-vermelhinho {
  color: #000000;
  font-family: 'Jost';
  font-size: 2em;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 12.5vh;
}

.nivel-amarelo {
  background-color: #F8BA1B;
}

.nivel-azul {
  background-color: #3856F8;
}

.nivel-vermelhinho {
  background-color: #fb8b74;
}

.nivel-vermelho {
  background-color: #F95E3E;
}

.nivel-rosa {
  background-color: #F78DD4;
}

/* =========================
   Footer
========================= */
footer {
  background-color: #3856F8;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  width: 100%;
}

.faixa {
  width: 100vw;
  height: auto;
}

footer h1 {
  font-size: x-large;
  font-weight: 700;
}

footer h3 {
  font-family: "Jost", arial;
  font-optical-sizing: auto;
  font-weight: 700;
}

/* Container 2 colunas */
.div-pai-footer {
  display: flex;
  align-items: stretch;
  /* importante: iguala a altura das colunas */
  width: 100%;
}

/* Só as duas colunas diretas ganham largura/margem */
footer .div-pai-footer>div {
  width: 42vw;
  margin: 2.5vw 4vw;
}

/* Colunas: grid (topo cresce, base fica no fundo) */
.flexionar,
.logos {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 0;
}

.footer-top {
  min-height: 0;
}

.texto-omu-footer {
  font-family: "Nimbus Sans L", sans-serif;
  text-align: justify;
}

/* Redes sociais (base esquerda) */
.linha-redes-sociais {
  align-self: end;
  /* cola no bottom da coluna */
  display: flex;
  align-items: flex-end;
  gap: 1vw;
  margin: 0;
  /* sem margens “roubando” o bottom */
}

.icone-rede-social {
  height: 4vh;
  width: auto;
}

/* Apoio (base direita) */
.box-apoiadores {
  align-self: end;
  /* cola no bottom da coluna */
  margin: 0;
}

.enfileirar {
  display: flex;
  flex-direction: row;
  margin: 0;
}

.coluna {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 1vw 0 0;
  width: auto;
}

.box-apoiadores a {
  display: block;
  line-height: 0;
}

.logo-grande {
  height: 10vh;
  width: auto;
  margin: 0 1vw 0 0;
}

.logo-metade {
  height: 6vh;
  width: auto;
  display: block;
}

.logo-grande-fit {
  height: 12vh;
  width: auto;
  display: block;
}


.logo-omu-mobile {
  display: none;
}

#sumiu {
  display: none;
}

.foto-mobile {
  display: none;
}

.sidenav {
  display: none;
}

.menu-navegacao-mobile {
  display: none;
}

@media (max-width:1350px) {

  .box-foto {
    display: none;
  }

  .box-botoes {
    display: grid;
    grid-column: 1fr;
    width: 100%;
  }

  .botao-laranja {
    margin: 2vh 0 0 0;
    width: auto;
  }

  .botao-azul {
    width: auto;
  }

  .box-texto-botao {
    width: 100%;
    padding: 0;
  }

  .tri-rosa {
    position: static;
    align-items: center;


  }

  .texto-rosa {
    font-size: 1.1em;
    margin: 5vh 4vw;
    text-align: justify;
  }

  .texto-rosa br {
    display: none;
  }

  .texto-participacao {
    text-align: center;
    font-size: 1.25em;
  }

  .box-participacao {
    padding: 1vh 5vw 5vh;
    margin: 0
  }

  .titulo-master {
    margin: 0;
    display: none;
  }

  .logo-omu {
    display: none;
  }

  .logo-omu-mobile {
    height: auto;
    margin: 2.5vh 2vw 0 4vw;
  }

  .cards {
    display: grid;
    grid-column: 1fr;
    width: auto;
    background: #FCF7CF;
    margin-bottom: 2vh;
  }

  .card {
    margin: 1vh 4vw;
    padding: 1vh;
    background-color: #FCF7CF;
    width: auto;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-row: auto;
  }

  .card p {

    font-size: 1em;
  }

  .card div {
    align-self: center;
  }

  .cards img {
    margin: 0;
    height: 14vh;
    width: auto;
  }

  .cronograma {
    margin: 0 4vw 0 4vw;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1vw;
  }

  .linha {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 5vh;
    gap: 1vw;
    font-size: 0.8em;
  }

  .linha div {
    border-radius: 3px;
    color: #FCF7CF;
    text-align: center;
    align-items: center;
    align-content: center;
  }

  .foto-mobile {
    display: block;
    width: 100%;
    height: auto;
    margin: 2vh 0;
  }

  .faixa {
    height: 4vh;
    width: auto;
  }

  .div-pai-footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

  footer .div-pai-footer>div {
    width: fit-content;
    margin: 0;

  }

  .footer-top {
    margin: 0 0vw;
  }

  .flexionar {
    margin: 0 4vw;
    padding: 0 4vw;
  }

  #margem4 {
    margin: 0 4vw;
  }

  .linha-redes-sociais {
    width: fit-content;
    justify-content: center;
    margin: 0 auto;
  }

  .linha-redes-sociais a {
    margin: 0 1vw;
  }

  .logos {
    margin: 0 4vw;
    justify-content: center;
    width: 50vw;
  }

  #id-footer {
    width: 100vw;
    margin: 0 4vw;
    color: white;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .box-apoiadores {
    margin: 0;
  }

  .icone-rede-social {
    height: 5vh;
    ;
  }

  .logos-enfileiradas {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1vw;
  }

  .logos-enfileiradas a {
    margin: 0 auto;
  }

  .logo-grande-fit {
    height: 9vh;
    width: auto;
  }

  .logo-metade {
    height: 4.5vh;
    width: auto;
  }

  footer {
    padding: 0 0 4vh 0;
    margin-top: 4vh;
  }

  #lem {
    margin: 0 auto 0 0;
  }

  #unicamp {
    margin: 0 0 0 auto;
  }

  /* 2. Exibe e alinha APENAS a barra Mobile (que possui o id="sumiu") */
  .menu-navegacao-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vw;
    width: 100vw;
    height: 10vh;
    box-sizing: border-box;
    background-color: #FCF7CF;
    /* Mantém a cor de fundo */
  }

  .menu-navegacao-mobile img {
    height: 7vh;
    width: auto;
  }

  /* 3. Caso a logo mobile avulsa (também com id="sumiu") precise aparecer */
  a#sumiu {
    display: block;
  }

  .menu-navegacao .is-open {
    display: block;
  }


  .menu-navegacao {
    grid-template-columns: 1fr 1fr;
    padding: 4vw;
  }

  .menu-navegacao img {
    height: 4vh;
    width: auto;
  }

  .menu-navegacao p {
    margin: 0;
    font-family: 'Jost';
    align-self: flex-start;
    font-weight: 900;
    height: 6vh;
    line-height: 1.2em;
  }

  .menu-navegacao span {
    justify-self: right;
  }


  .span-vermelho {
    color: #F95E3E;
    font-weight: 900;
  }

  .span-azul {
    color: #3856F8;
    font-weight: 900;
  }

  .span-amarelo {
    color: #F8BA1B;
    font-weight: 900;
  }

  .span-rosa {
    color: #F89EDA;
    font-weight: 900;
  }

  .sidenav-top .closebtn {
    position: static !important;
    /* remove qualquer absolute antigo */
    font-size: 48px;
    line-height: 1;
    /* ESSENCIAL para alinhar ao topo */
    display: block;
    transform: translateY(-2px);
    /* micro ajuste fino (pode remover se quiser) */
  }

  .sidenav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    /* TELA TODA */
    background-color: #FCF7CF;
    z-index: 1000;

    display: none;
    /* fechado */
    overflow-x: hidden;
    overflow-y: auto;

    padding-top: 80px;
    /* espaço da barra do topo */
  }

  /* aberto */
  .sidenav.is-open {
    display: block;
  }


  /* Links do menu */
  .sidenav a {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 2em;
    color: #000;
    display: block;
    transition: 0.3s;
    font-family: 'Jost';
    text-align: center;
    font-weight: 500;
  }

  #login-azul {
    color: #3856F8;
  }

  /* Barra do topo do menu (onde ficam o botão e o X) */
  .sidenav-top {
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    align-items: flex-start;
    /* cola no topo */
    justify-content: space-between;
    /* esquerda e direita */

    padding: 10px 25px;
    /* controla distância do topo */
    box-sizing: border-box;
  }

  /* Zera “estilo de link” dentro da barra do topo (não herdar padding dos links do menu) */
  .sidenav-top a {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;

  }

  .link-logo-omu {
    display: none;
  }

  .menu-navegacao {
    display: none;
  }

  .box-solucoes{
    width: 30%;
  }

  .box-pai{
    margin: 5% 0 0 0;
    width: 100%;
  }

  .altura-GP, .altura-2G, .altura-G, .altura-M, .altura-P, .altura-G-int, .altura-2GP, .nivel-rosa, .nivel-azul, .nivel-amarelo, .nivel-vermelho, .nivel-vermelhinho {
    font-size: 1em;
  }

  
  .div-pai-footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

  footer .div-pai-footer>div {
    width: fit-content;
    margin: 0;

  }

  .footer-top {
    margin: 0 auto;
  }

  .flexionar {
    margin: 0 4vw;
    padding: 0 4vw;
  }

  #margem4 {
    margin: 0 4vw;
  }

  .linha-redes-sociais {
    width: fit-content;
    justify-content: center;
    margin: 0 auto;
  }

  .linha-redes-sociais a {
    margin: 0 1vw;
  }

  .logos {
    margin: 0 4vw;
    justify-content: center;
    width: 100%;
  }

  #id-footer {
    width: 100vw;
    margin: 0 4vw;
    color: white;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .box-apoiadores {
    width:100%;
    margin: 0 auto;
  }

  .icone-rede-social {
    height: 5vh;
    ;
  }

  .logos-enfileiradas {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1vw;
  }

  .logos-enfileiradas a {
    margin: 0 auto;
  }

  .logo-grande-fit {
    height: 9vh;
    width: auto;
  }

  .logo-metade {
    height: 4.5vh;
    width: auto;
  }

  footer {
    padding: 0 0 4vh 0;
    margin-top: 4vh;
  }

  #lem {
    margin: 0 auto 0 0;
  }

  #unicamp {
    margin: 0 0 0 auto;
  }

  #logos{
    width: 100%;
  }

  .box-medalhistas{
    width: 24%;
  }

  .box-solucoes{
    width: 32%;
  }

  .box-nivel{
    width: 12%;
  }

  .box-prova{
    width: 35%;
  }

  .altura-P-meio-esq, .altura-P-meio-dir, .altura-2G, .altura-G, .altura-M, .altura-P, .altura-G-int, .altura-2GP {
    font-size: 0.8em;
  }


}